import StartPage from './StartPage'
import GamePage from './GamePage'
import EndPage from './EndPage'

const pageMap = {
    'startPage': StartPage,
    'gamePage': GamePage,
    'endPage': EndPage
}

export const getPage = (pageName) => {
    return pageMap[pageName]
}